<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://commnuity.wanqing.com/tag/toolbar" prefix="tool" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0);  
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html> 
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/> 
<meta http-equiv="expires" content="0"/>  
<title>显示组织树Frame</title>
<jsp:include page="../../../common/easyui-css.inc"></jsp:include>
<link rel="stylesheet" type="text/css" href="css/tree.css"/>
<style type="text/css"> 
  body, html,#map_canvas {width: 100%;height: 100%;overflow: hidden;margin:0;}
</style>
</head>
<body class="easyui-layout">
 <div region="west" title="部门" iconCls="icon-tree-arrow" split="true" style="width:150px;">
   <div id="tree"></div>
 </div>
<div id="map_canvas" region="center" style="overflow:auto">
<div id="toolbar">
	<form method="post" id="siteForm">
		<div style="border-bottom:solid 1px #ccc;">
	    	<table cellspacing="1">
	     		<tr>
	     			<td width="60px;" align="right">登录名：</td>
	     			<td>
	     				<input type="text" style="width:100px;height:22px;" class="input" name="loginName" id="loginName" />
	     			</td>
	     			<td width="80px;" align="right">姓名：</td>
		     		<td>
		     			<input type="text" style="width:100px;height:22px;" class="input" name="userName" id="userName" />
		     		</td>
		     			<td width="80px;" align="right">性别：</td>
		     		<td>
		     			<select id="sex" name="sex" class="select" style="width:100px">
						  	<option value="">请选择</option>
						  	<option value="1">男</option>
						  	<option value="0">女</option>
						</select>
		     		</td>
		     		<td width="80px;" align="right">角色：</td>
		     		<td>
		     			<select id="roleId" name="roleId" class="select" style="width:100px">	
		     			   <option value="">请选择</option>   
						   <c:forEach items="${roles}" var="role">
						      <option value="${role.roleId }">${role.roleName }</option>
						   </c:forEach>
						</select>
		     		</td>
		     		<td width="200px;" align="right">
			           <a class="easyui-linkbutton" iconcls="icon-search" plain="false" id="search">查询</a>                 
			        </td>   
	     		</tr>
	     	</table>   
        </div>         
	</form>
	<div>
	   <tool:bar menuId="${m_id}"></tool:bar>
	</div>
</div>
	<!-- 
   <div id="toolbar" class="datagrid-toolbar" style="height: auto;display: none;">    
	<tool:bar menuId="${m_id}"></tool:bar>	
   </div>
    -->
<table id="users"></table>
</div>

<div id="addWin" class="easyui-window" title="Login" style="width: 300px; height: 180px;"></div>
<div id="updateWin" class="easyui-window" title="Login" style="width: 300px; height: 180px;"></div>


<!--<div id="addWin"></div>-->
<!--<div id="updateWin"></div>-->
<div id="uploadWin"></div>
<div id="refWin"> 
</div>
</body>
<jsp:include page="../../../common/easyui-js.inc"></jsp:include>
<script type="text/javascript" src="pages/sys/user/listUser.js?version=<%=Math.random() %>"></script>
</html>